package com.wkbb.basic.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class SysFunctionVo implements Serializable {

    @ApiModelProperty(value = "编号")
    private Long id;

    @ApiModelProperty(value = "父ID")
    private Long parentId;

    @ApiModelProperty(value = "1模块 2菜单 3按钮")
    private Short type;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "CRUD值")
    private String code;

    @ApiModelProperty(value = "链接")
    private String url;

    @ApiModelProperty(value = "图标链接")
    private String iconUrl;

    @ApiModelProperty(value = "排序")
    private Short orders;

    @ApiModelProperty(value = "0:无效 1:有效")
    private Boolean status;

    @ApiModelProperty(value = "0:无效 1:有效")
    private Boolean status1;

    @ApiModelProperty(value = "子功能")
    private List<SysFunctionVo> children;
}
